summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/bh1750.c
diff options
context:
space:
mode:
authorAlon Giladi <alon.giladi@intel.com>2023-06-06 09:42:58 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-06-06 13:43:06 +0200
commit5f40850399c61aec5f26861f4a5194aae64c27df (patch)
tree846cda8980ef18b323d77ec42c4e9d826bbedb27 /drivers/iio/light/bh1750.c
parentwifi: iwlwifi: api: fix kernel-doc links (diff)
downloadlinux-5f40850399c61aec5f26861f4a5194aae64c27df.tar.xz
linux-5f40850399c61aec5f26861f4a5194aae64c27df.zip
wifi: iwlwifi: Generalize the parsing of the pnvm image
Generalize iwl_pnvm_parse(). This saves us from copying each payload twice (first in the parsing and later when copying it to the dram). Moreover, its more compatible for handling larger pnvm tables in the future (in which payloads won't be concatenated). The main changes are: 1. Take out the concatenating of the payloads from the parsing level 2. Start using iwl_pnvm_image structure that will hold pointers to payloads that should be delivered to fw, their sizes and number. Signed-off-by: Alon Giladi <alon.giladi@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230606103519.06c02f380b6f.I03a3030fca194aa0c4bc2ecd18531f8914e98cfd@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/iio/light/bh1750.c')
0 files changed, 0 insertions, 0 deletions