aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-qcom-qspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-qcom-qspi.c')
-rw-r--r--drivers/spi/spi-qcom-qspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi-qcom-qspi.c
index 15c4e21cd562..aa91a6c9ab55 100644
--- a/drivers/spi/spi-qcom-qspi.c
+++ b/drivers/spi/spi-qcom-qspi.c
@@ -311,7 +311,7 @@ static int qcom_qspi_prepare_message(struct spi_master *master,
mstr_cfg = readl(ctrl->base + MSTR_CONFIG);
mstr_cfg &= ~CHIP_SELECT_NUM;
- if (message->spi->chip_select)
+ if (spi_get_chipselect(message->spi, 0))
mstr_cfg |= CHIP_SELECT_NUM;
mstr_cfg |= FB_CLK_EN | PIN_WPN | PIN_HOLDN | SBL_EN | FULL_CYCLE_MODE;
src/mkdir.c: Include <selinux/selinux.h>. (main): Honor it. * src/Makefile.am (mkdir_LDADD): Use $(LIB_SELINUX). 2007-03-18* tests/cp/cp-a-selinux: New file. Test for the bug reported inJim Meyering11-19/+175 * tests/cp/Makefile.am (TESTS): Add cp-a-selinux. * tests/selinux: New file. * tests/Makefile.am (EXTRA_DIST): Add selinux. * tests/misc/selinux: Source the new script, rather than open coding it. Change how "cp -a" and "cp --preserve=context" work with SELinux. Now, cp -a attempts to preserve context, but failure to do so does not change cp's exit status. However "cp --preserve=context" is similar, but failure *does* cause cp to exit with nonzero status. * src/copy.h (struct cp_options) [require_preserve_context]: New member. * src/copy.c (copy_reg, copy_internal): Implement the above. * src/mv.c (cp_option_init): Initialize the new member. * src/install.c (cp_option_init): Likewise. * src/cp.c (cp_option_init): Likewise. (decode_preserve_arg): Set it or reset it. FIXME: add an on-writable-NFS-only test 2007-03-18* src/system.h (GETOPT_SELINUX_CONTEXT_OPTION_DECL): Define.Jim Meyering2-0/+3 2007-03-18cp, mv, install: add SELinux support, but unlike with the Red HatJim Meyering7-15/+243 patch, mv and cp do not provide the "-Z context" option. * src/copy.c: Include <selinux/selinux.h>. (restore_default_fscreatecon): New function. (copy_reg): Make cp --preserve=context work for existing destination. (copy_internal): Likewise for new destinations. * src/copy.h (cp_options) [preserve_security_context]: New member. * src/cp.c: Include <selinux/selinux.h>. (selinux_enabled): New global. (usage): Mention new --preserve=context option. (PRESERVE_CONTEXT): Define/use. (decode_preserve_arg): Handle PRESERVE_CONTEXT. (main): Remove an obsolete comment. If --preserve=context is specified on a system without SELinux enabled, give a diagnostic and fail. * src/mv.c: Include <selinux/selinux.h>. Set x->preserve_security_context if SELinux is enabled. * src/install.c: Accept new "-Z, --context=C" option. Accept --preserve-context option (but not -P option). Accept alternate spelling: --preserve_context, for now. Include <selinux/selinux.h> and "quotearg.h". (selinux_enabled, use_default_selinux_context): New globals. (PRESERVE_CONTEXT_OPTION): Define. (cp_option_init): Default: do not preserve security context. (setdefaultfilecon): New function. (main): Honor new options. * src/Makefile.am (mv_LDADD, cp_LDADD, ginstall_LDADD): Add $(LIB_SELINUX). 2007-03-18* tests/misc/selinux [VERBOSE]: Print version info for eachJim Meyering2-0/+7 of the tested tools, not just ls. 2007-03-18* src/c99-to-c89.diff: Remove the ls.c patch, now that I'veJim Meyering2-20/+3 temporarily removed the offending c99'ism. 2007-03-18* src/chcon.c (usage): Split a string literal that was longer than 509.Jim Meyering2-0/+4 2007-03-18* src/ls.c (gobble_file): Don't call getfilecon unless print_scontext.Jim Meyering2-3/+7 Upon failed getfilecon, accept not just ENOTSUP, but also ENODATA. 2007-03-18* src/c99-to-c89.diff: Adjust offsets.Jim Meyering2-2/+4 2007-03-18* AUTHORS: Add chcon.Jim Meyering2-0/+3 2007-03-18* src/c99-to-c89.diff: Remove trailing blanks.Jim Meyering2-4/+6 2007-03-18* src/chcon.c: Don't include "dirname.h". system.h already includes it.Jim Meyering2-1/+2 2007-03-18* gl/lib/selinux-at.c: Remove a use of HAVE_CONFIG_H.Jim Meyering2-3/+3 2007-03-18* src/c99-to-c89.diff: Handle a new c99'ism in ls.c.Jim Meyering2-0/+22 2007-03-18* src/id.c (main): Tweak id -Z diagnostic.Jim Meyering2-2/+4 2007-03-18* POTFILES.in: Add src/chcon.c.Jim Meyering2-1/+6 2007-03-18id: Add SELinux support: -Z option.Jim Meyering3-10/+62 * src/id.c (main): Apply patches from Fedora, with these changes: Remove #ifdef WITH_SELINUX. Use error (EXIT_FAILURE, not fprintf+exit(1). * src/Makefile.am (id_LDADD): Define, so as to add $(LIB_SELINUX).